package com.fengwk.support.spring.boot.config;

import org.springframework.messaging.handler.annotation.MessageExceptionHandler;

import com.fengwk.support.util.LoggerUtils;
import com.fengwk.support.util.LoggerUtils.Logger;

public abstract class AbstractMessageExceptionHandlerConfig {
	
	protected static final Logger LOG = LoggerUtils.getLogger(AbstractMessageExceptionHandlerConfig.class);
	
	@MessageExceptionHandler
	public void resolveException(Throwable e) {
	    LOG.error(e);
	}
	
}
